package com.peas.platform.module.icims.expenditure.expenses.controller.vo;

import java.math.*;
import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("报账单支出信息")
public class ExpenditureReimbursementPayVo extends BaseVo {

    // （报账单表）外键
    @Comment(value = "报账单ID")
    @ApiModelProperty(value = "报账单ID")
    private Long expenditureReimbursementId;

    @Comment(value = "支付方式", dictType = "ExpenditurePay")
    @ApiModelProperty(value = "支付方式", notes = "字典取值:ExpenditurePay")
    @Size(max = 20, message = "支付方式不能超过20个字符")
    private String payType;

    @Comment(value = "结算方式", dictType = "ExpenditureSettlement")
    @ApiModelProperty(value = "结算方式", notes = "字典取值:ExpenditureSettlement")
    @Size(max = 20, message = "结算方式不能超过20个字符")
    private String settleType;

    @Comment(value = "支付账户")
    @ApiModelProperty(value = "支付账户")
    @Size(max = 200, message = "支付账户不能超过200个字符")
    private String payAccount;

    @Comment(value = "收付标识", enumType = "ExpenditurePay")
    @ApiModelProperty(value = "收付标识", notes = "枚举取值:ExpenditurePay")
    @Size(max = 20, message = "收付标识不能超过20个字符")
    private String pay;

    @Comment(value = "金额")
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @Comment(value = "摘要")
    @ApiModelProperty(value = "摘要")
    private String paySummary;

}
